#include <stdio.h>

int main(){
	int arr[10] = {};
	int i = 0;
	for (i = 0;i < 10;i++){
		printf("请输入第%d个学生的成绩：",i+1);
		scanf("%d",&arr[i]);
	}
	int conut,avg,max = 0;
	for(i = 0;i < 10;i++){
		conut += arr[i];
		avg = conut / 10;
		if(arr[i] > max) max = arr[i];
	}
	printf("总分：%d 平均分：%d 最高分：%d\n",conut,avg,max);
}

